<template>
  <div class="strategydetail">
    <div v-html="strategy.content" class="detail"></div>
  </div>
</template>
<script>
export default {
  props:["mid"],
  data(){
    return {
      strategy:{}
    }
  },
  mounted(){
    this.axios.get("mediatext",{params:{mid:this.mid}}).then(result=>{
      this.strategy=result.data.results[0];
    })
  }
}
</script>
<style>
  .strategydetail>.detail{
    width: 750px;
    font-size: 16px;
    color: #666;
    line-height: 20px;
    margin: 0 auto;
  }
  .strategydetail img{
    width: 100%;
    height: 468px;
  }
</style>
